package top.sinfonia.demo.elasticsearch.po;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author singoasher
 * @date 2018/4/25
 */
@Data
@Document(indexName = "test", type = "user")
public class User {
    @Id
    private String id;
    private String name;
    private String remark;
}
